<?php
/**
 * Ajax load point
 * สำหรับ ajax load point
 * @package Member
 * @subpackage View
 * @category view
 */
?>

            <table class="btable">
                <tr>
                    <th><?php echo $this->lang->line('member.144.point'); ?></th>
                    <th><?php echo $this->lang->line('member.144.reason'); ?></th>
                    <th><?php echo $this->lang->line('member.146.lastupdate'); ?></th>
                </tr>
                    <?php
                    if(is_array($member_log_point)){
                        foreach($member_log_point as $k){
                            ?>
                <tr>
                    <td><?php echo $k['score']?></td>
                    <td><?php echo $k['reason']?></td>
                    <td><?php echo $k['createdate']?></td>
                </tr>
                            <?php
                        }
                    }
                    ?>
                    
                
            </table>
<div id="ajaxclick<?php if($this->uri->segment(6)=='karma')echo 'karma';?>">
    <?php
$config['base_url'] = site_url('member/admin/load_point/'.$this->uri->segment(5).'/'.$this->uri->segment(6));
$config['uri_segment'] = $uri_segment;
$config['total_rows'] = $countmember;
$config['per_page'] = $perpage;

$this->pagination->initialize($config);

echo $this->pagination->create_links();
 
?></div>